package com.snailhd.framework.i18n.nacos;


import java.io.IOException;
import java.util.concurrent.ConcurrentHashMap;

/**
 * @author snailhd
 */
public interface FileParser {


    /**
     * 解析文本成map
     */
    ConcurrentHashMap<String,String> parse(String text) throws IOException;

    /**
     * 获取处理后的dataId
     */
    String getDataId();

}
